export default ({type, onClick, className = '', size = 'md', ...restProps}) => (
	<span onClick={onClick}>
		<svg
			className={`am-icon am-icon-${type.substr(1)} am-icon-${size} ${className}`}
			{...restProps}
		>
			<use xlinkHref={type} />
		</svg>
	</span>
);